<template>
  <div class="container">
    <van-empty description="当前页面不存在,点我返回首页" @click="handleClick"/>
  </div>
</template>
<script setup lang="ts" name="404">
import {useRouter} from "vue-router";

const router = useRouter();

function handleClick() {
  router.push("/");
}
</script>
<style scoped>
.container:hover {
  cursor: pointer;
}
</style>
